package com.ytjj.qmyx.mall.model;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class Banker implements Serializable {
    /**
     * id
     *
     * @mbg.generated
     */
    private Integer id;

    /**
     * 店家名称
     *
     * @mbg.generated
     */
    private String name;

    /**
     * 手机号
     *
     * @mbg.generated
     */
    private String tel;

    /**
     * 密码
     *
     * @mbg.generated
     */
    private String pwd;

    /**
     * 地址
     *
     * @mbg.generated
     */
    private String address;

    /**
     * 邮箱
     *
     * @mbg.generated
     */
    private String email;

    /**
     * 店家logo
     *
     * @mbg.generated
     */
    private String logoImg;

    /**
     * 商品总数
     *
     * @mbg.generated
     */
    private Integer productNum;

    /**
     * 联系人名称
     *
     * @mbg.generated
     */
    private String linkman;

    /**
     * 粉丝数
     *
     * @mbg.generated
     */
    private Integer fans;

    /**
     * 总销量
     *
     * @mbg.generated
     */
    private Integer sales;

    /**
     * 店家等级
     *
     * @mbg.generated
     */
    private Integer level;

    /**
     * 销量总金额
     *
     * @mbg.generated
     */
    private BigDecimal salesMoney;

    /**
     * 状态
     *
     * @mbg.generated
     */
    private Byte status;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * 修改时间
     *
     * @mbg.generated
     */
    private Date updateTime;

    /**
     * 零元适用商品数量
     *
     * @mbg.generated
     */
    private Integer zeroTryNum;

    /**
     * 供应商类型 0-供应商 1-品牌商
     *
     * @mbg.generated
     */
    private String bankerType;

    /**
     * 供应商分类栏目表
     *
     * @mbg.generated
     */
    private Integer bankerColumnId;

    /**
     * 操作员id
     *
     * @mbg.generated
     */
    private Integer adminId;

    /**
     * 操作员
     *
     * @mbg.generated
     */
    private String adminName;

    /**
     * 采购员
     *
     * @mbg.generated
     */
    private String buyer;

    /**
     * 助理
     */
    private String assistant;

    /**
     * 是否放假 0-否 1-是
     *
     * @mbg.generated
     */
    private Integer isHoliday;

    /**
     * 结款方式 1-日结 2-周结 3-半月结 4-月结 5-其他
     *
     * @mbg.generated
     */
    private Integer repayType;

    /**
     * 结款方式-其他-说明
     *
     * @mbg.generated
     */
    private String repayTypeExtra;

    /**
     * 税点
     *
     * @mbg.generated
     */
    private String tax;

    /**
     * 下架原因
     */
    private String offMsg;

    /**
     * 下架时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date offTime;

    /**
     * 99api开关 默认关闭 0-关闭 1-开启
     */
    private Integer apiSwitch;

    public String getAssistant() {
        return assistant;
    }

    public void setAssistant(String assistant) {
        this.assistant = assistant;
    }

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getLogoImg() {
        return logoImg;
    }

    public void setLogoImg(String logoImg) {
        this.logoImg = logoImg;
    }

    public Integer getProductNum() {
        return productNum;
    }

    public void setProductNum(Integer productNum) {
        this.productNum = productNum;
    }

    public String getLinkman() {
        return linkman;
    }

    public void setLinkman(String linkman) {
        this.linkman = linkman;
    }

    public Integer getFans() {
        return fans;
    }

    public void setFans(Integer fans) {
        this.fans = fans;
    }

    public Integer getSales() {
        return sales;
    }

    public void setSales(Integer sales) {
        this.sales = sales;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public BigDecimal getSalesMoney() {
        return salesMoney;
    }

    public void setSalesMoney(BigDecimal salesMoney) {
        this.salesMoney = salesMoney;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getZeroTryNum() {
        return zeroTryNum;
    }

    public void setZeroTryNum(Integer zeroTryNum) {
        this.zeroTryNum = zeroTryNum;
    }

    public String getBankerType() {
        return bankerType;
    }

    public void setBankerType(String bankerType) {
        this.bankerType = bankerType;
    }

    public Integer getBankerColumnId() {
        return bankerColumnId;
    }

    public void setBankerColumnId(Integer bankerColumnId) {
        this.bankerColumnId = bankerColumnId;
    }

    public Integer getAdminId() {
        return adminId;
    }

    public void setAdminId(Integer adminId) {
        this.adminId = adminId;
    }

    public String getAdminName() {
        return adminName;
    }

    public void setAdminName(String adminName) {
        this.adminName = adminName;
    }

    public String getBuyer() {
        return buyer;
    }

    public void setBuyer(String buyer) {
        this.buyer = buyer;
    }

    public Integer getIsHoliday() {
        return isHoliday;
    }

    public void setIsHoliday(Integer isHoliday) {
        this.isHoliday = isHoliday;
    }

    public Integer getRepayType() {
        return repayType;
    }

    public void setRepayType(Integer repayType) {
        this.repayType = repayType;
    }

    public String getRepayTypeExtra() {
        return repayTypeExtra;
    }

    public void setRepayTypeExtra(String repayTypeExtra) {
        this.repayTypeExtra = repayTypeExtra;
    }

    public String getTax() {
        return tax;
    }

    public void setTax(String tax) {
        this.tax = tax;
    }

    public String getOffMsg() {
        return offMsg;
    }

    public void setOffMsg(String offMsg) {
        this.offMsg = offMsg;
    }

    public Date getOffTime() {
        return offTime;
    }

    public void setOffTime(Date offTime) {
        this.offTime = offTime;
    }

    public Integer getApiSwitch() {
        return apiSwitch;
    }

    public void setApiSwitch(Integer apiSwitch) {
        this.apiSwitch = apiSwitch;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", name=").append(name);
        sb.append(", tel=").append(tel);
        sb.append(", pwd=").append(pwd);
        sb.append(", address=").append(address);
        sb.append(", email=").append(email);
        sb.append(", logoImg=").append(logoImg);
        sb.append(", productNum=").append(productNum);
        sb.append(", linkman=").append(linkman);
        sb.append(", fans=").append(fans);
        sb.append(", sales=").append(sales);
        sb.append(", level=").append(level);
        sb.append(", salesMoney=").append(salesMoney);
        sb.append(", status=").append(status);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", zeroTryNum=").append(zeroTryNum);
        sb.append(", bankerType=").append(bankerType);
        sb.append(", bankerColumnId=").append(bankerColumnId);
        sb.append(", adminId=").append(adminId);
        sb.append(", adminName=").append(adminName);
        sb.append(", buyer=").append(buyer);
        sb.append(", assistant=").append(assistant);
        sb.append(", isHoliday=").append(isHoliday);
        sb.append(", repayType=").append(repayType);
        sb.append(", repayTypeExtra=").append(repayTypeExtra);
        sb.append(", tax=").append(tax);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append(", offMsg=").append(offMsg);
        sb.append(", offTime=").append(offTime);
        sb.append("]");
        return sb.toString();
    }
}